-- GENERATED SPELL FOR [Rabid Brown Bear] --


function spell0_24633(pUnit, Event) --@Maul,n/a--
pUnit:FullCastSpellOnTarget(34298,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24633', 680, 1)
end

function Sorts_24633(pUnit, Event)
local choix_sorts_24633 = math.random(0, 0)
if choix_sorts_24633 == 0 then
pUnit:RegisterEvent('spell0_24633', 1, 1)
end
end

function mob24633_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24633', math.random(1500, 3000), 1)
end

function mob24633_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24633_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24633_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24633, 1, 'mob24633_Action')
RegisterUnitEvent(24633, 2, 'mob24633_Leave')
RegisterUnitEvent(24633, 3, 'mob24633_Kill')
RegisterUnitEvent(24633, 4, 'mob24633_Die')
